home *** CD-ROM | disk | other *** search
/ SGI Hot Mix 11 / Hot Mix 11.iso / .all / bin / Ghostview (.txt) < prev    next >
Text File  |  1995-07-14  |  10KB  |  246 lines

  1. !  Ghostview.ad -- Application defaults file for ghostview.
  2. !  Copyright (C) 1992  Timothy O. Theisen
  3. !  This program is free software; you can redistribute it and/or modify
  4. !  it under the terms of the GNU General Public License as published by
  5. !  the Free Software Foundation; either version 2 of the License, or
  6. !  (at your option) any later version.
  7. !  This program is distributed in the hope that it will be useful,
  8. !  but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. !  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  10. !  GNU General Public License for more details.
  11. !  You should have received a copy of the GNU General Public License
  12. !  along with this program; if not, write to the Free Software
  13. !  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  14. !    Author: Tim Theisen           Systems Programmer
  15. !  Internet: tim@cs.wisc.edu       Department of Computer Sciences
  16. !      UUCP: uwvax!tim             University of Wisconsin-Madison
  17. !     Phone: (608)262-0438         1210 West Dayton Street
  18. !       FAX: (608)262-9777         Madison, WI   53706
  19.  
  20. ! All of the button labels and actions are determined in this file.
  21. ! It should be easy to adapt to any language.
  22. ! To use a different version of ghostscript, you can add the resource
  23. ! *Ghostview.interpreter: /my/very/own/gs
  24.  
  25. *input:    True
  26. *allowShellResize:    True
  27. *ShapeStyle:    Oval
  28. *Font:    -adobe-new century schoolbook-medium-r-normal--*-140-*-*-p-*-iso8859-1
  29. *Text*Font:    -adobe-courier-medium-r-normal--*-140-*-*-m-*-iso8859-1
  30. *ghostviewButton.Label:    Ghostview
  31. *copyright.Label:    Copyright...
  32. *quit.Label:    Quit
  33. *fileButton.Label:    File
  34. *open.Label:    Open...
  35. *reopen.Label:    Reopen
  36. *printwhole.Label:    Print...
  37. *printmarked.Label:    Print marked pages...
  38. *save.Label:    Save marked pages...
  39. *pageButton.Label:    Page
  40. *next.Label:    Next
  41. *show.Label:    Redisplay
  42. *prev.Label:    Previous
  43. *center.Label:    Center
  44. *mark.Label:    Mark
  45. *unmark.Label:    Unmark
  46. *magstepButton.Label:    Magstep
  47. *orientationButton.Label:    Orientation
  48. *portrait.Label:    Portrait
  49. *landscape.Label:    Landscape
  50. *upsidedown.Label:    Upside-down
  51. *seascape.Label:    Seascape
  52. *swap.Label:    Swap Landscape
  53. *pagemediaButton.Label:    Media
  54. *pageview.useBottom:    True
  55. *pageview.useRight:    True
  56. *MenuButton.baseTranslations:    #replace \n\
  57.     <EnterWindow>:    highlight() \n\
  58.     <LeaveWindow>:    reset() \n\
  59.     !               <BtnDown>:        reset() PopupMenu() \n\
  60.     !          Shift<BtnDown>:        reset() PopupMenu() \n\
  61.     !     Lock      <BtnDown>:        reset() PopupMenu() \n\
  62.     !     Lock Shift<BtnDown>:        reset() PopupMenu() \n\
  63.     !Ctrl           <BtnDown>:        reset() PopupMenu() \n\
  64.     !Ctrl      Shift<BtnDown>:        reset() PopupMenu() \n\
  65.     !Ctrl Lock      <BtnDown>:        reset() PopupMenu() \n\
  66.     !Ctrl Lock Shift<BtnDown>:        reset() PopupMenu()
  67. *MenuButton.translations:    #replace \n\
  68.     <EnterWindow>:    highlight() \n\
  69.     <LeaveWindow>:    reset() \n\
  70.     !               <BtnDown>:        reset() PopupMenu() \n\
  71.     !          Shift<BtnDown>:        reset() PopupMenu() \n\
  72.     !     Lock      <BtnDown>:        reset() PopupMenu() \n\
  73.     !     Lock Shift<BtnDown>:        reset() PopupMenu() \n\
  74.     !Ctrl           <BtnDown>:        reset() PopupMenu() \n\
  75.     !Ctrl      Shift<BtnDown>:        reset() PopupMenu() \n\
  76.     !Ctrl Lock      <BtnDown>:        reset() PopupMenu() \n\
  77.     !Ctrl Lock Shift<BtnDown>:        reset() PopupMenu()
  78. *SimpleMenu.baseTranslations:    #replace \n\
  79.     <EnterWindow>:    highlight() \n\
  80.     <LeaveWindow>:    unhighlight() \n\
  81.     <BtnMotion>:    highlight() \n\
  82.     <Btn2Up>:    MenuPopdown() GhostviewForce() notify() unhighlight() \n\
  83.     <BtnUp>:    MenuPopdown() GhostviewDefault() notify() unhighlight()
  84. *SimpleMenu.translations:    #replace \n\
  85.     <EnterWindow>:    highlight() \n\
  86.     <LeaveWindow>:    unhighlight() \n\
  87.     <BtnMotion>:    highlight() \n\
  88.     <Btn2Up>:    MenuPopdown() GhostviewForce() notify() unhighlight() \n\
  89.     <BtnUp>:    MenuPopdown() GhostviewDefault() notify() unhighlight()
  90. *okay.Label:    Okay
  91. *cancel.Label:    Cancel
  92. *dismiss.Label:    Dismiss
  93. *Ghostview.busyCursor:    target
  94. Ghostview.baseTranslations:    #replace \n\
  95.     <MapNotify>:        GhostviewCheckFile() \n\
  96.     <Message>WM_PROTOCOLS:    GhostviewDeleteWindow()
  97. Ghostview.translations:        #replace \n\
  98.     <MapNotify>:        GhostviewCheckFile() \n\
  99.     <Message>WM_PROTOCOLS:    GhostviewDeleteWindow()
  100. *TopLevelShell.baseTranslations:    #replace \n\
  101.     <Message>WM_PROTOCOLS:    GhostviewDismiss()
  102. *TopLevelShell.translations:    #replace \n\
  103.     <Message>WM_PROTOCOLS:    GhostviewDismiss()
  104. *TransientShell.baseTranslations:    #replace \n\
  105.     <Message>WM_PROTOCOLS:    GhostviewDismiss()
  106. *TransientShell.translations:    #replace \n\
  107.     <Message>WM_PROTOCOLS:    GhostviewDismiss()
  108. *zoom.form.baseTranslations:    #replace \n\
  109.     <Key>Q:            GhostviewDeleteZoom()
  110. *zoom.form.translations:    #replace \n\
  111.     <Key>Q:            GhostviewDeleteZoom()
  112. *zoom.baseTranslations:        #replace \n\
  113.     <Message>WM_PROTOCOLS:    GhostviewDeleteWindow()
  114. *zoom.translations:        #replace \n\
  115.     <Message>WM_PROTOCOLS:    GhostviewDeleteWindow()
  116. *Ghostview.baseTranslations:    #replace \n\
  117.     <Message>:    message() \n\
  118.     <EnterWindow>:    notify(0) \n\
  119.     <LeaveWindow>:    GhostviewEraseLocator() \n\
  120.     <MotionNotify>:    notify(0) \n\
  121.     <Btn1Down>:    notify(180 180 200 200) \n\
  122.     <Btn2Down>:    notify(120 120 300 300) \n\
  123.     <Btn3Down>:    notify(90 90 400 400)
  124. *Ghostview.translations:    #replace \n\
  125.     <Message>:    message() \n\
  126.     <EnterWindow>:    notify(0) \n\
  127.     <LeaveWindow>:    GhostviewEraseLocator() \n\
  128.     <MotionNotify>:    notify(0) \n\
  129.     <Btn1Down>:    notify(180 180 200 200) \n\
  130.     <Btn2Down>:    notify(120 120 300 300) \n\
  131.     <Btn3Down>:    notify(90 90 400 400)
  132. *toc.baseTranslations:    #replace \n\
  133.     <FocusIn>:    focus-in() \n\
  134.     <FocusOut>:    focus-out() \n\
  135.     <Btn1Down>:    select-start() \n\
  136.     <Btn1Motion>:    extend-adjust() \n\
  137.     <Btn1Up>:    extend-end(PRIMARY, CUT_BUFFER0) \n\
  138.     <Btn2Down>:    select-start() \n\
  139.     <Btn2Motion>:    extend-adjust() \n\
  140.     <Btn2Up>:    extend-end(PRIMARY, CUT_BUFFER0) GhostviewShow() \n\
  141.     <Btn3Down>:    extend-start() \n\
  142.     <Btn3Motion>:    extend-adjust() \n\
  143.     <Btn3Up>:    extend-end(PRIMARY, CUT_BUFFER0)
  144. *toc.translations:    #replace \n\
  145.     <FocusIn>:    focus-in() \n\
  146.     <FocusOut>:    focus-out() \n\
  147.     <Btn1Down>:    select-start() \n\
  148.     <Btn1Motion>:    extend-adjust() \n\
  149.     <Btn1Up>:    extend-end(PRIMARY, CUT_BUFFER0) \n\
  150.     <Btn2Down>:    select-start() \n\
  151.     <Btn2Motion>:    extend-adjust() \n\
  152.     <Btn2Up>:    extend-end(PRIMARY, CUT_BUFFER0) GhostviewShow() \n\
  153.     <Btn3Down>:    extend-start() \n\
  154.     <Btn3Motion>:    extend-adjust() \n\
  155.     <Btn3Up>:    extend-end(PRIMARY, CUT_BUFFER0)
  156. *Form.baseTranslations:    #replace \n\
  157.     <Key>C:    GhostviewCenter() \n\
  158.     <Key>Q:    GhostviewQuit() \n\
  159.     <Key>O:    GhostviewOpen() \n\
  160.     <Key>R:    GhostviewReopen() \n\
  161.     <Key>S:    GhostviewSave() \n\
  162.     Shift<Key>P:    GhostviewPrintWhole() \n\
  163.     <Key>P:    GhostviewPrintMarked() \n\
  164.     <Key>BackSpace:    GhostviewPrevious() \n\
  165.     <Key>Delete:    GhostviewPrevious() \n\
  166.     <Key>B:    GhostviewPrevious() \n\
  167.     <Key>Prior:    GhostviewPrevious() \n\
  168.     <Key>space:    GhostviewNext() \n\
  169.     <Key>Return:    GhostviewNext() \n\
  170.     <Key>F:    GhostviewNext() \n\
  171.     <Key>Next:    GhostviewNext() \n\
  172.     <Key>Tab:    GhostviewNext() \n\
  173.     <Key>period:    GhostviewShow() \n\
  174.     Ctrl<Key>L:    GhostviewShow() \n\
  175.     <Key>M:    GhostviewMark() \n\
  176.     <Key>N:    GhostviewUnmark() \n\
  177.     <Key>0:    GhostviewSetMagstep(0) \n\
  178.     <Key>1:    GhostviewSetMagstep(1) \n\
  179.     <Key>2:    GhostviewSetMagstep(2) \n\
  180.     <Key>3:    GhostviewSetMagstep(3) \n\
  181.     <Key>4:    GhostviewSetMagstep(4) \n\
  182.     <Key>5:    GhostviewSetMagstep(5) \n\
  183.     <Key>+:    GhostviewIncreaseMagstep() \n\
  184.     <Key>-:    GhostviewDecreaseMagstep() \n\
  185.     <Key>U:    GhostviewScrollUp() \n\
  186.     <Key>D:    GhostviewScrollDown() \n\
  187.     <Key>K:    GhostviewScrollUp() \n\
  188.     <Key>J:    GhostviewScrollDown() \n\
  189.     <Key>H:    GhostviewScrollLeft() \n\
  190.     <Key>L:    GhostviewScrollRight() \n\
  191.     Shift<Key>Up:    GhostviewForce() GhostviewSetOrientation(portrait) \n\
  192.     Shift<Key>Right:    GhostviewForce() GhostviewSetOrientation(landscape) \n\
  193.     Shift<Key>Down: GhostviewForce() GhostviewSetOrientation(upside-down) \n\
  194.     Shift<Key>Left:    GhostviewForce() GhostviewSetOrientation(seascape) \n\
  195.     <Key>Up:    GhostviewDefault() GhostviewSetOrientation(portrait) \n\
  196.     <Key>Right:    GhostviewDefault() GhostviewSetOrientation(landscape) \n\
  197.     <Key>Down:    GhostviewDefault() GhostviewSetOrientation(upside-down) \n\
  198.     <Key>Left:    GhostviewDefault() GhostviewSetOrientation(seascape)
  199. *Form.translations:    #replace \n\
  200.     <Key>C:    GhostviewCenter() \n\
  201.     <Key>Q:    GhostviewQuit() \n\
  202.     <Key>O:    GhostviewOpen() \n\
  203.     <Key>R:    GhostviewReopen() \n\
  204.     <Key>S:    GhostviewSave() \n\
  205.     Shift<Key>P:    GhostviewPrintWhole() \n\
  206.     <Key>P:    GhostviewPrintMarked() \n\
  207.     <Key>BackSpace:    GhostviewPrevious() \n\
  208.     <Key>Delete:    GhostviewPrevious() \n\
  209.     <Key>B:    GhostviewPrevious() \n\
  210.     <Key>Prior:    GhostviewPrevious() \n\
  211.     <Key>space:    GhostviewNext() \n\
  212.     <Key>Return:    GhostviewNext() \n\
  213.     <Key>F:    GhostviewNext() \n\
  214.     <Key>Next:    GhostviewNext() \n\
  215.     <Key>Tab:    GhostviewNext() \n\
  216.     <Key>period:    GhostviewShow() \n\
  217.     Ctrl<Key>L:    GhostviewShow() \n\
  218.     <Key>M:    GhostviewMark() \n\
  219.     <Key>N:    GhostviewUnmark() \n\
  220.     <Key>0:    GhostviewSetMagstep(0) \n\
  221.     <Key>1:    GhostviewSetMagstep(1) \n\
  222.     <Key>2:    GhostviewSetMagstep(2) \n\
  223.     <Key>3:    GhostviewSetMagstep(3) \n\
  224.     <Key>4:    GhostviewSetMagstep(4) \n\
  225.     <Key>5:    GhostviewSetMagstep(5) \n\
  226.     <Key>+:    GhostviewIncreaseMagstep() \n\
  227.     <Key>-:    GhostviewDecreaseMagstep() \n\
  228.     <Key>U:    GhostviewScrollUp() \n\
  229.     <Key>D:    GhostviewScrollDown() \n\
  230.     <Key>K:    GhostviewScrollUp() \n\
  231.     <Key>J:    GhostviewScrollDown() \n\
  232.     <Key>H:    GhostviewScrollLeft() \n\
  233.     <Key>L:    GhostviewScrollRight() \n\
  234.     Shift<Key>Up:    GhostviewForce() GhostviewSetOrientation(portrait) \n\
  235.     Shift<Key>Right:    GhostviewForce() GhostviewSetOrientation(landscape) \n\
  236.     Shift<Key>Down: GhostviewForce() GhostviewSetOrientation(upside-down) \n\
  237.     Shift<Key>Left:    GhostviewForce() GhostviewSetOrientation(seascape) \n\
  238.     <Key>Up:    GhostviewDefault() GhostviewSetOrientation(portrait) \n\
  239.     <Key>Right:    GhostviewDefault() GhostviewSetOrientation(landscape) \n\
  240.     <Key>Down:    GhostviewDefault() GhostviewSetOrientation(upside-down) \n\
  241.     <Key>Left:    GhostviewDefault() GhostviewSetOrientation(seascape)
  242.